//<template>
  <div>
      <tr>
          <td>{{new_info.title}}</td>
          <td>{{new_info.new_content}}</td>
          <td><img :src="url+new_info.img" alt=""></td>
          <td>{{new_info.new_commit}}</td>
          <td>{{new_info.browse}}</td>
      </tr>
  </div>
</template>

<script>
import axios from 'axios'
export default {
    data(){
        return{
            new_info:[],
            url:'http://127.0.0.1:8000'
        }
    },
    methods:{
        get_info(){
            axios({
                url:'http://127.0.0.1:8000/app04/borwse/',
                method:'get',
                params:{'id':this.$router.params.id}
            }).then(res=>{
                console.log(res.data)
                this.new_info = res.data.new_ser
            })
        }
    },
    created(){
        this.get_info()
    }
}
</script>

<style>

</style>